#include <iostream>
#include <string>
using namespace std;

class Mediator {
	private:
		Person * pB;
		Person * pG;
	public:
		void Set(Person *,Person *);
		void Send(string ,Person *);
};

class Person{
	private:
		Mediator *m;
	public:
		virtual void Set(Mediator *);
		virtual void Send(string);
};

class Boy:public Person{
	private:
		Mediator *pM;
	public:
		void Set(Mediator *);
		void Send(string);
};

class Girl:public Person{
	private:
		Mediator *pM;
	public:
		void Set(Mediator *);
		void Send(string);
};

void Mediator::Set(Person *t1,Person *t2){
	pB=t1;
	pG=t2;
}

void Mediator::Send(string Mes,Person *pP){
	if (pP!=pG){
		
	}
	else{
		
	}
}

void Girl::Set(Mediator *t){
	pM=t;
}

void Boy::Set(Mediator *t){
	pM=t;
}

void Girl::Send(string Mes){
	pM->Send(Mes,this);
}

void Boy::Send(string Mes){
	pM->Send(Mes,this);
}


int main(void){
	
	delete ;
	return 0;
}
